package gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import javax.swing.Timer;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JLabel;
import javax.swing.JPanel;
import app.MainNemo;
import app.schoolList;
import app.types;
import java.awt.Color;
import java.awt.Frame;
import java.awt.event.WindowEvent;
import java.io.File;
import java.util.ArrayList;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.UIManager;

public class Board extends javax.swing.JFrame {

    final int TIME = 300;
    int time = 300;
    Timer timer;
    Scores scoreFrame;
    int PrevX, PrevY, PrevWidth, PrevHeight;
    ArrayList<SpecialPanel> listeExtra;
    
    public Board() throws IOException {
        
      
        //background
      try {
    		this.setContentPane(new JLabel(new ImageIcon(ImageIO.read(new File("pattern-metal-wallszone-hd-wallpaper-22386.jpg")))));
    	} catch (IOException e) {
    		e.printStackTrace();
    	}
      listeExtra= new ArrayList<SpecialPanel>();
      initComponents();
      //grosScorePanel.add(new JLabel("asd"));
      /*schoolPanel.setOpaque(false);
      schoolPanel.setBackground(new Color(0,0,0,200));
      jPanel1.setOpaque(false);
      jPanel1.setBackground(new Color(0,0,0,200));
      scorePanelFloor1.setOpaque(false);
      scorePanelFloor1.setBackground(new Color(0,0,0,200));
      scorePanelFloor2.setOpaque(false);
      scorePanelFloor2.setBackground(new Color(0,0,0,200));
      scorePanelFloor3.setOpaque(false);
      scorePanelFloor3.setBackground(new Color(0,0,0,200));
      timeLabel.setOpaque(false);
      timeLabel.setBackground(new Color(0,0,0,200));*/
      PrevX = getX();
      PrevY = getY();
      PrevWidth = getWidth();
      PrevHeight = getHeight();
      dispose(); //Destroys the whole JFrame but keeps organized every Component                               
                  //Needed if you want to use Undecorated JFrame
                  //dispose() is the reason that this trick doesn't work with videos
                  setUndecorated(true);

          setBounds(0,0,getToolkit().getScreenSize().width,getToolkit().getScreenSize().height);
        setVisible(true);
        
        
        try {
     
          UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
     } catch (Exception e) {
     }
        jPanel1.setOpaque(true);
        timeLabel.setOpaque(true);
        schoolPanel.setOpaque(true);
        school1Panel.setOpaque(false);
        school2Panel.setOpaque(false);
        school3Panel.setOpaque(false);
        school4Panel.setOpaque(false);
        school5Panel.setOpaque(false);
        jPanel3.setOpaque(false);
        jPanel2.setOpaque(false);
        jPanel4.setOpaque(false);
        jPanel5.setOpaque(false);
        jPanel6.setOpaque(false);
        jPanel7.setOpaque(false);
        jPanel8.setOpaque(false);
        jPanel9.setOpaque(false);
        jPanel10.setOpaque(false);
        jPanel11.setOpaque(false);
        canScore1.setOpaque(false);
        canScore2.setOpaque(false);
        canScore3.setOpaque(false);
        canScore4.setOpaque(false);
        canScore5.setOpaque(false);
        
        scorePanelFloor1.setOpaque(true);
        scorePanelFloor2.setOpaque(true);
        scorePanelFloor3.setOpaque(true);
        timer = new Timer(1000, new ActionListener() {
           
            @Override
            public void actionPerformed(ActionEvent e) {
                if (time == 0) {
                    timer.stop();
                } else {
                    tick();
                    if(time<60) {
                        timeLabel.setForeground(Color.red);
                    }
                }
            }
        });
        
    }
    /*
     public static void main(String args[]) {
     try {
     UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
     } catch (Exception e) {
     }

        
        
     java.awt.EventQueue.invokeLater(new Runnable() {
     public void run() {
     try {
     new Board().setVisible(true);
     } catch (IOException ex) {
     Logger.getLogger(Board.class.getName()).log(Level.SEVERE, null, ex);
     }
                
     }
     });
     }
     */

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        schoolPanel = new javax.swing.JPanel();
        school1Panel = new javax.swing.JPanel();
        school1 = new javax.swing.JComboBox();
        canScore1 = new javax.swing.JCheckBox();
        customPieceLabel1 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        customLvl1 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        customStruc1 = new javax.swing.JLabel();
        school2Panel = new javax.swing.JPanel();
        school2 = new javax.swing.JComboBox();
        canScore2 = new javax.swing.JCheckBox();
        customPieceLabel = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel8 = new javax.swing.JLabel();
        customLvl2 = new javax.swing.JLabel();
        jPanel5 = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        customStruc2 = new javax.swing.JLabel();
        school3Panel = new javax.swing.JPanel();
        school3 = new javax.swing.JComboBox();
        canScore3 = new javax.swing.JCheckBox();
        customPieceLabel3 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        jLabel10 = new javax.swing.JLabel();
        customLvl3 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        customStruc3 = new javax.swing.JLabel();
        school4Panel = new javax.swing.JPanel();
        school4 = new javax.swing.JComboBox();
        canScore4 = new javax.swing.JCheckBox();
        customPieceLabel2 = new javax.swing.JLabel();
        jPanel8 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        customLvl4 = new javax.swing.JLabel();
        jPanel9 = new javax.swing.JPanel();
        jLabel14 = new javax.swing.JLabel();
        customStruc4 = new javax.swing.JLabel();
        school5Panel = new javax.swing.JPanel();
        school5 = new javax.swing.JComboBox();
        canScore5 = new javax.swing.JCheckBox();
        customPieceLabel4 = new javax.swing.JLabel();
        jPanel10 = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        customLvl5 = new javax.swing.JLabel();
        jPanel11 = new javax.swing.JPanel();
        jLabel18 = new javax.swing.JLabel();
        customStruc5 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        scorePanelFloor1 = new javax.swing.JPanel();
        jLabel48 = new javax.swing.JLabel();
        Height4 = new javax.swing.JLabel();
        jLabel49 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        niv10 = new javax.swing.JLabel();
        bucket110 = new javax.swing.JLabel();
        sphere110 = new javax.swing.JLabel();
        box110 = new javax.swing.JLabel();
        niv9 = new javax.swing.JLabel();
        bucket19 = new javax.swing.JLabel();
        sphere19 = new javax.swing.JLabel();
        box19 = new javax.swing.JLabel();
        jLabel53 = new javax.swing.JLabel();
        bucket18 = new javax.swing.JLabel();
        sphere18 = new javax.swing.JLabel();
        box18 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        bucket17 = new javax.swing.JLabel();
        sphere17 = new javax.swing.JLabel();
        box17 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        bucket16 = new javax.swing.JLabel();
        sphere16 = new javax.swing.JLabel();
        box16 = new javax.swing.JLabel();
        jLabel51 = new javax.swing.JLabel();
        bucket15 = new javax.swing.JLabel();
        sphere15 = new javax.swing.JLabel();
        box15 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        bucket14 = new javax.swing.JLabel();
        sphere14 = new javax.swing.JLabel();
        box14 = new javax.swing.JLabel();
        jLabel59 = new javax.swing.JLabel();
        bucket13 = new javax.swing.JLabel();
        sphere13 = new javax.swing.JLabel();
        box13 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        bucket12 = new javax.swing.JLabel();
        sphere12 = new javax.swing.JLabel();
        box12 = new javax.swing.JLabel();
        jLabel67 = new javax.swing.JLabel();
        bucket11 = new javax.swing.JLabel();
        sphere11 = new javax.swing.JLabel();
        box11 = new javax.swing.JLabel();
        scorePanelFloor2 = new javax.swing.JPanel();
        jLabel71 = new javax.swing.JLabel();
        Height5 = new javax.swing.JLabel();
        jLabel72 = new javax.swing.JLabel();
        jLabel73 = new javax.swing.JLabel();
        jLabel80 = new javax.swing.JLabel();
        bucket210 = new javax.swing.JLabel();
        sphere210 = new javax.swing.JLabel();
        box210 = new javax.swing.JLabel();
        jLabel79 = new javax.swing.JLabel();
        bucket29 = new javax.swing.JLabel();
        sphere29 = new javax.swing.JLabel();
        box29 = new javax.swing.JLabel();
        jLabel77 = new javax.swing.JLabel();
        bucket28 = new javax.swing.JLabel();
        sphere28 = new javax.swing.JLabel();
        box28 = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        bucket27 = new javax.swing.JLabel();
        sphere27 = new javax.swing.JLabel();
        box27 = new javax.swing.JLabel();
        jLabel75 = new javax.swing.JLabel();
        bucket26 = new javax.swing.JLabel();
        sphere26 = new javax.swing.JLabel();
        box26 = new javax.swing.JLabel();
        jLabel74 = new javax.swing.JLabel();
        bucket25 = new javax.swing.JLabel();
        sphere25 = new javax.swing.JLabel();
        box25 = new javax.swing.JLabel();
        jLabel78 = new javax.swing.JLabel();
        bucket24 = new javax.swing.JLabel();
        sphere24 = new javax.swing.JLabel();
        box24 = new javax.swing.JLabel();
        jLabel82 = new javax.swing.JLabel();
        bucket23 = new javax.swing.JLabel();
        sphere23 = new javax.swing.JLabel();
        box23 = new javax.swing.JLabel();
        jLabel86 = new javax.swing.JLabel();
        bucket22 = new javax.swing.JLabel();
        sphere22 = new javax.swing.JLabel();
        box22 = new javax.swing.JLabel();
        jLabel90 = new javax.swing.JLabel();
        bucket21 = new javax.swing.JLabel();
        sphere21 = new javax.swing.JLabel();
        box21 = new javax.swing.JLabel();
        timeLabel = new javax.swing.JLabel();
        scorePanelFloor3 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        Height = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        bucket310 = new javax.swing.JLabel();
        sphere310 = new javax.swing.JLabel();
        box310 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        bucket39 = new javax.swing.JLabel();
        sphere39 = new javax.swing.JLabel();
        box39 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        bucket38 = new javax.swing.JLabel();
        sphere38 = new javax.swing.JLabel();
        box38 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        bucket37 = new javax.swing.JLabel();
        sphere37 = new javax.swing.JLabel();
        box37 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        bucket36 = new javax.swing.JLabel();
        sphere36 = new javax.swing.JLabel();
        box36 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        bucket35 = new javax.swing.JLabel();
        sphere35 = new javax.swing.JLabel();
        box35 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        bucket34 = new javax.swing.JLabel();
        sphere34 = new javax.swing.JLabel();
        box34 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        bucket33 = new javax.swing.JLabel();
        sphere33 = new javax.swing.JLabel();
        box33 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        bucket32 = new javax.swing.JLabel();
        sphere32 = new javax.swing.JLabel();
        box32 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        bucket31 = new javax.swing.JLabel();
        sphere31 = new javax.swing.JLabel();
        box31 = new javax.swing.JLabel();
        grosScorePanel = new javax.swing.JPanel();
        jLabel25 = new javax.swing.JLabel();
        jPanel17 = new javax.swing.JPanel();
        jLabel24 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jPanel16 = new javax.swing.JPanel();
        newType = new javax.swing.JComboBox();
        newNiveau = new javax.swing.JTextField();
        newStruc = new javax.swing.JTextField();
        jButton2 = new javax.swing.JButton();
        jMenuBar2 = new javax.swing.JMenuBar();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem2 = new javax.swing.JMenuItem();
        jMenuItem4 = new javax.swing.JMenuItem();
        jMenuItem3 = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(1000, 600));
        setPreferredSize(new java.awt.Dimension(1000, 600));

        schoolPanel.setBackground(new java.awt.Color(0, 0, 0));
        schoolPanel.setLayout(new javax.swing.BoxLayout(schoolPanel, javax.swing.BoxLayout.LINE_AXIS));

        school1Panel.setBackground(new Color(0, 0, 0, 0));
        school1Panel.setLayout(new java.awt.GridLayout(5, 1));

        school1.setFont(new java.awt.Font("Arial", 0, 21)); // NOI18N
        school1.setModel(new DefaultComboBoxModel<>(schoolList.values()));
        school1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                school1ActionPerformed(evt);
            }
        });
        school1Panel.add(school1);

        canScore1.setBackground(new Color(0, 0, 0, 0));
        canScore1.setFont(new java.awt.Font("Arial", 0, 55)); // NOI18N
        canScore1.setForeground(new java.awt.Color(255, 255, 255));
        canScore1.setText("0");
        canScore1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        canScore1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                canScore1ActionPerformed(evt);
            }
        });
        school1Panel.add(canScore1);

        customPieceLabel1.setBackground(new Color(0, 0, 0, 0));
        customPieceLabel1.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        customPieceLabel1.setForeground(new java.awt.Color(255, 255, 255));
        customPieceLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customPieceLabel1.setText("Hauteur de la pièce");
        school1Panel.add(customPieceLabel1);

        jPanel3.setBackground(new Color(0, 0, 0, 0));
        jPanel3.setForeground(new java.awt.Color(255, 255, 255));

        jLabel7.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        jLabel7.setForeground(new java.awt.Color(255, 255, 255));
        jLabel7.setText("Terrain:");
        jPanel3.add(jLabel7);

        customLvl1.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        customLvl1.setForeground(new java.awt.Color(255, 255, 255));
        customLvl1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customLvl1.setText("0");
        customLvl1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customLvl1MouseClicked(evt);
            }
        });
        jPanel3.add(customLvl1);

        school1Panel.add(jPanel3);

        jPanel2.setBackground(new Color(0, 0, 0, 0));

        jLabel6.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        jLabel6.setForeground(new java.awt.Color(255, 255, 255));
        jLabel6.setText("Structure:");
        jPanel2.add(jLabel6);

        customStruc1.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        customStruc1.setForeground(new java.awt.Color(255, 255, 255));
        customStruc1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customStruc1.setText("0");
        customStruc1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customStruc1MouseClicked(evt);
            }
        });
        jPanel2.add(customStruc1);

        school1Panel.add(jPanel2);

        schoolPanel.add(school1Panel);

        school2Panel.setBackground(new Color(0, 0, 0, 0));
        school2Panel.setLayout(new java.awt.GridLayout(5, 1));

        school2.setFont(new java.awt.Font("Arial", 0, 21)); // NOI18N
        school2.setModel(new DefaultComboBoxModel<>(schoolList.values()));
        school2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                school2ActionPerformed(evt);
            }
        });
        school2Panel.add(school2);

        canScore2.setBackground(new Color(0, 0, 0, 0));
        canScore2.setFont(new java.awt.Font("Arial", 0, 55)); // NOI18N
        canScore2.setForeground(new java.awt.Color(255, 255, 255));
        canScore2.setText("0");
        canScore2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        canScore2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                canScore2ActionPerformed(evt);
            }
        });
        school2Panel.add(canScore2);

        customPieceLabel.setBackground(new Color(0, 0, 0, 0));
        customPieceLabel.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        customPieceLabel.setForeground(new java.awt.Color(255, 255, 255));
        customPieceLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customPieceLabel.setText("Hauteur de la pièce:");
        school2Panel.add(customPieceLabel);

        jPanel4.setBackground(new Color(0, 0, 0, 0));

        jLabel8.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        jLabel8.setForeground(new java.awt.Color(255, 255, 255));
        jLabel8.setText("Terrain:");
        jPanel4.add(jLabel8);

        customLvl2.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        customLvl2.setForeground(new java.awt.Color(255, 255, 255));
        customLvl2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customLvl2.setText("0");
        customLvl2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customLvl2MouseClicked(evt);
            }
        });
        jPanel4.add(customLvl2);

        school2Panel.add(jPanel4);

        jPanel5.setBackground(new Color(0, 0, 0, 0));
        jPanel5.setForeground(new java.awt.Color(255, 255, 255));

        jLabel9.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        jLabel9.setForeground(new java.awt.Color(255, 255, 255));
        jLabel9.setText("Structure:");
        jPanel5.add(jLabel9);

        customStruc2.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        customStruc2.setForeground(new java.awt.Color(255, 255, 255));
        customStruc2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customStruc2.setText("0");
        customStruc2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customStruc2MouseClicked(evt);
            }
        });
        jPanel5.add(customStruc2);

        school2Panel.add(jPanel5);

        schoolPanel.add(school2Panel);

        school3Panel.setBackground(new Color(0, 0, 0, 0));
        school3Panel.setLayout(new java.awt.GridLayout(5, 1));

        school3.setFont(new java.awt.Font("Arial", 0, 21)); // NOI18N
        school3.setModel(new DefaultComboBoxModel<>(schoolList.values()));
        school3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                school3ActionPerformed(evt);
            }
        });
        school3Panel.add(school3);

        canScore3.setBackground(new Color(0, 0, 0, 0));
        canScore3.setFont(new java.awt.Font("Arial", 0, 55)); // NOI18N
        canScore3.setForeground(new java.awt.Color(255, 255, 255));
        canScore3.setText("0");
        canScore3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        canScore3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                canScore3ActionPerformed(evt);
            }
        });
        school3Panel.add(canScore3);

        customPieceLabel3.setBackground(new Color(0, 0, 0, 0));
        customPieceLabel3.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        customPieceLabel3.setForeground(new java.awt.Color(255, 255, 255));
        customPieceLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customPieceLabel3.setText("Hauteur de la pièce:");
        school3Panel.add(customPieceLabel3);

        jPanel6.setBackground(new Color(0, 0, 0, 0));

        jLabel10.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        jLabel10.setForeground(new java.awt.Color(255, 255, 255));
        jLabel10.setText("Terrain:");
        jPanel6.add(jLabel10);

        customLvl3.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        customLvl3.setForeground(new java.awt.Color(255, 255, 255));
        customLvl3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customLvl3.setText("0");
        customLvl3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customLvl3MouseClicked(evt);
            }
        });
        jPanel6.add(customLvl3);

        school3Panel.add(jPanel6);

        jPanel7.setBackground(new Color(0, 0, 0, 0));

        jLabel11.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        jLabel11.setForeground(new java.awt.Color(255, 255, 255));
        jLabel11.setText("Structure:");
        jPanel7.add(jLabel11);

        customStruc3.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        customStruc3.setForeground(new java.awt.Color(255, 255, 255));
        customStruc3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customStruc3.setText("0");
        customStruc3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customStruc3MouseClicked(evt);
            }
        });
        jPanel7.add(customStruc3);

        school3Panel.add(jPanel7);

        schoolPanel.add(school3Panel);

        school4Panel.setBackground(new Color(0, 0, 0, 0));
        school4Panel.setLayout(new java.awt.GridLayout(5, 1));

        school4.setFont(new java.awt.Font("Arial", 0, 21)); // NOI18N
        school4.setModel(new DefaultComboBoxModel<>(schoolList.values()));
        school4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                school4ActionPerformed(evt);
            }
        });
        school4Panel.add(school4);

        canScore4.setBackground(new Color(0, 0, 0, 0));
        canScore4.setFont(new java.awt.Font("Arial", 0, 55)); // NOI18N
        canScore4.setForeground(new java.awt.Color(255, 255, 255));
        canScore4.setText("0");
        canScore4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        canScore4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                canScore4ActionPerformed(evt);
            }
        });
        school4Panel.add(canScore4);

        customPieceLabel2.setBackground(new Color(0, 0, 0, 0));
        customPieceLabel2.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        customPieceLabel2.setForeground(new java.awt.Color(255, 255, 255));
        customPieceLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customPieceLabel2.setText("Hauteur de la pièce:");
        school4Panel.add(customPieceLabel2);

        jPanel8.setBackground(new Color(0, 0, 0, 0));

        jLabel13.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(255, 255, 255));
        jLabel13.setText("Terrain:");
        jPanel8.add(jLabel13);

        customLvl4.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        customLvl4.setForeground(new java.awt.Color(255, 255, 255));
        customLvl4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customLvl4.setText("0");
        customLvl4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customLvl4MouseClicked(evt);
            }
        });
        jPanel8.add(customLvl4);

        school4Panel.add(jPanel8);

        jPanel9.setBackground(new Color(0, 0, 0, 0));
        jPanel9.setForeground(new java.awt.Color(255, 255, 255));

        jLabel14.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        jLabel14.setForeground(new java.awt.Color(255, 255, 255));
        jLabel14.setText("Structure:");
        jPanel9.add(jLabel14);

        customStruc4.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        customStruc4.setForeground(new java.awt.Color(255, 255, 255));
        customStruc4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customStruc4.setText("0");
        customStruc4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customStruc4MouseClicked(evt);
            }
        });
        jPanel9.add(customStruc4);

        school4Panel.add(jPanel9);

        schoolPanel.add(school4Panel);

        school5Panel.setBackground(new Color(0, 0, 0, 0));
        school5Panel.setLayout(new java.awt.GridLayout(5, 1));

        school5.setFont(new java.awt.Font("Arial", 0, 21)); // NOI18N
        school5.setModel(new DefaultComboBoxModel<>(schoolList.values()));
        school5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                school5ActionPerformed(evt);
            }
        });
        school5Panel.add(school5);

        canScore5.setBackground(new Color(0, 0, 0, 0));
        canScore5.setFont(new java.awt.Font("Arial", 0, 55)); // NOI18N
        canScore5.setForeground(new java.awt.Color(255, 255, 255));
        canScore5.setText("0");
        canScore5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        canScore5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                canScore5ActionPerformed(evt);
            }
        });
        school5Panel.add(canScore5);

        customPieceLabel4.setBackground(new Color(0, 0, 0, 0));
        customPieceLabel4.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        customPieceLabel4.setForeground(new java.awt.Color(255, 255, 255));
        customPieceLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customPieceLabel4.setText("Hauteur de la pièce:");
        school5Panel.add(customPieceLabel4);

        jPanel10.setBackground(new Color(0, 0, 0, 0));

        jLabel15.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        jLabel15.setForeground(new java.awt.Color(255, 255, 255));
        jLabel15.setText("Terrain:");
        jPanel10.add(jLabel15);

        customLvl5.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        customLvl5.setForeground(new java.awt.Color(255, 255, 255));
        customLvl5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customLvl5.setText("0");
        customLvl5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customLvl5MouseClicked(evt);
            }
        });
        jPanel10.add(customLvl5);

        school5Panel.add(jPanel10);

        jPanel11.setBackground(new Color(0, 0, 0, 0));
        jPanel11.setForeground(new java.awt.Color(255, 255, 255));

        jLabel18.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        jLabel18.setForeground(new java.awt.Color(255, 255, 255));
        jLabel18.setText("Structure:");
        jPanel11.add(jLabel18);

        customStruc5.setFont(new java.awt.Font("Arial", 0, 30)); // NOI18N
        customStruc5.setForeground(new java.awt.Color(255, 255, 255));
        customStruc5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        customStruc5.setText("0");
        customStruc5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                customStruc5MouseClicked(evt);
            }
        });
        jPanel11.add(customStruc5);

        school5Panel.add(jPanel11);

        schoolPanel.add(school5Panel);

        jPanel1.setBackground(new Color(0, 0, 0, 0));

        scorePanelFloor1.setBackground(new java.awt.Color(0, 0, 0));
        scorePanelFloor1.setLayout(new java.awt.GridLayout(11, 4));

        jLabel48.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel48.setForeground(new java.awt.Color(255, 255, 255));
        jLabel48.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel48.setText("Niveau");
        scorePanelFloor1.add(jLabel48);

        Height4.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        Height4.setForeground(new java.awt.Color(255, 255, 255));
        Height4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Height4.setText("Sceau");
        scorePanelFloor1.add(Height4);

        jLabel49.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel49.setForeground(new java.awt.Color(255, 255, 255));
        jLabel49.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel49.setText("Sphère");
        scorePanelFloor1.add(jLabel49);

        jLabel50.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel50.setForeground(new java.awt.Color(255, 255, 255));
        jLabel50.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel50.setText("Boîte");
        scorePanelFloor1.add(jLabel50);

        niv10.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        niv10.setForeground(new java.awt.Color(255, 255, 255));
        niv10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        niv10.setText("10");
        scorePanelFloor1.add(niv10);

        bucket110.setBackground(new Color(0, 0, 0, 0));
        bucket110.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket110.setForeground(new java.awt.Color(255, 255, 255));
        bucket110.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket110.setText("0");
        bucket110.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket110MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket110);

        sphere110.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere110.setForeground(new java.awt.Color(255, 255, 255));
        sphere110.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere110.setText("0");
        sphere110.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere110MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere110);

        box110.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box110.setForeground(new java.awt.Color(255, 255, 255));
        box110.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box110.setText("0");
        box110.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box110MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box110);

        niv9.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        niv9.setForeground(new java.awt.Color(255, 255, 255));
        niv9.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        niv9.setText("9");
        scorePanelFloor1.add(niv9);

        bucket19.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket19.setForeground(new java.awt.Color(255, 255, 255));
        bucket19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket19.setText("0");
        bucket19.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket19MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket19);

        sphere19.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere19.setForeground(new java.awt.Color(255, 255, 255));
        sphere19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere19.setText("0");
        sphere19.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere19MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere19);

        box19.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box19.setForeground(new java.awt.Color(255, 255, 255));
        box19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box19.setText("0");
        box19.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box19MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box19);

        jLabel53.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel53.setForeground(new java.awt.Color(255, 255, 255));
        jLabel53.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel53.setText("8");
        scorePanelFloor1.add(jLabel53);

        bucket18.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket18.setForeground(new java.awt.Color(255, 255, 255));
        bucket18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket18.setText("0");
        bucket18.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket18MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket18);

        sphere18.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere18.setForeground(new java.awt.Color(255, 255, 255));
        sphere18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere18.setText("0");
        sphere18.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere18MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere18);

        box18.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box18.setForeground(new java.awt.Color(255, 255, 255));
        box18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box18.setText("0");
        box18.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box18MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box18);

        jLabel52.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel52.setForeground(new java.awt.Color(255, 255, 255));
        jLabel52.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel52.setText("7");
        scorePanelFloor1.add(jLabel52);

        bucket17.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket17.setForeground(new java.awt.Color(255, 255, 255));
        bucket17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket17.setText("0");
        bucket17.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket17MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket17);

        sphere17.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere17.setForeground(new java.awt.Color(255, 255, 255));
        sphere17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere17.setText("0");
        sphere17.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere17MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere17);

        box17.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box17.setForeground(new java.awt.Color(255, 255, 255));
        box17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box17.setText("0");
        box17.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box17MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box17);

        jLabel56.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel56.setForeground(new java.awt.Color(255, 255, 255));
        jLabel56.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel56.setText("6");
        scorePanelFloor1.add(jLabel56);

        bucket16.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket16.setForeground(new java.awt.Color(255, 255, 255));
        bucket16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket16.setText("0");
        bucket16.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket16MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket16);

        sphere16.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere16.setForeground(new java.awt.Color(255, 255, 255));
        sphere16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere16.setText("0");
        sphere16.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere16MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere16);

        box16.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box16.setForeground(new java.awt.Color(255, 255, 255));
        box16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box16.setText("0");
        box16.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box16MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box16);

        jLabel51.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel51.setForeground(new java.awt.Color(255, 255, 255));
        jLabel51.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel51.setText("5");
        scorePanelFloor1.add(jLabel51);

        bucket15.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket15.setForeground(new java.awt.Color(255, 255, 255));
        bucket15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket15.setText("0");
        bucket15.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket15MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket15);

        sphere15.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere15.setForeground(new java.awt.Color(255, 255, 255));
        sphere15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere15.setText("0");
        sphere15.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere15MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere15);

        box15.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box15.setForeground(new java.awt.Color(255, 255, 255));
        box15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box15.setText("0");
        box15.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box15MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box15);

        jLabel55.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel55.setForeground(new java.awt.Color(255, 255, 255));
        jLabel55.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel55.setText("4");
        scorePanelFloor1.add(jLabel55);

        bucket14.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket14.setForeground(new java.awt.Color(255, 255, 255));
        bucket14.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket14.setText("0");
        bucket14.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket14MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket14);

        sphere14.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere14.setForeground(new java.awt.Color(255, 255, 255));
        sphere14.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere14.setText("0");
        sphere14.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere14MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere14);

        box14.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box14.setForeground(new java.awt.Color(255, 255, 255));
        box14.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box14.setText("0");
        box14.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box14MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box14);

        jLabel59.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel59.setForeground(new java.awt.Color(255, 255, 255));
        jLabel59.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel59.setText("3");
        scorePanelFloor1.add(jLabel59);

        bucket13.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket13.setForeground(new java.awt.Color(255, 255, 255));
        bucket13.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket13.setText("0");
        bucket13.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket13MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket13);

        sphere13.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere13.setForeground(new java.awt.Color(255, 255, 255));
        sphere13.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere13.setText("0");
        sphere13.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere13MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere13);

        box13.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box13.setForeground(new java.awt.Color(255, 255, 255));
        box13.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box13.setText("0");
        box13.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box13MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box13);

        jLabel63.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel63.setForeground(new java.awt.Color(255, 255, 255));
        jLabel63.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel63.setText("2");
        scorePanelFloor1.add(jLabel63);

        bucket12.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket12.setForeground(new java.awt.Color(255, 255, 255));
        bucket12.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket12.setText("0");
        bucket12.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket12MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket12);

        sphere12.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere12.setForeground(new java.awt.Color(255, 255, 255));
        sphere12.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere12.setText("0");
        sphere12.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere12MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere12);

        box12.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box12.setForeground(new java.awt.Color(255, 255, 255));
        box12.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box12.setText("0");
        box12.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box12MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box12);

        jLabel67.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel67.setForeground(new java.awt.Color(255, 255, 255));
        jLabel67.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel67.setText("1");
        scorePanelFloor1.add(jLabel67);

        bucket11.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket11.setForeground(new java.awt.Color(255, 255, 255));
        bucket11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket11.setText("0");
        bucket11.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket11MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(bucket11);

        sphere11.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere11.setForeground(new java.awt.Color(255, 255, 255));
        sphere11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere11.setText("0");
        sphere11.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere11MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(sphere11);

        box11.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box11.setForeground(new java.awt.Color(255, 255, 255));
        box11.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box11.setText("0");
        box11.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box11MouseClicked(evt);
            }
        });
        scorePanelFloor1.add(box11);

        scorePanelFloor2.setBackground(new java.awt.Color(0, 0, 0));
        scorePanelFloor2.setLayout(new java.awt.GridLayout(11, 4));

        jLabel71.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel71.setForeground(new java.awt.Color(255, 255, 255));
        jLabel71.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel71.setText("Niveau");
        scorePanelFloor2.add(jLabel71);

        Height5.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        Height5.setForeground(new java.awt.Color(255, 255, 255));
        Height5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Height5.setText("Sceau");
        scorePanelFloor2.add(Height5);

        jLabel72.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel72.setForeground(new java.awt.Color(255, 255, 255));
        jLabel72.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel72.setText("Sphère");
        scorePanelFloor2.add(jLabel72);

        jLabel73.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel73.setForeground(new java.awt.Color(255, 255, 255));
        jLabel73.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel73.setText("Boîte");
        scorePanelFloor2.add(jLabel73);

        jLabel80.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel80.setForeground(new java.awt.Color(255, 255, 255));
        jLabel80.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel80.setText("10");
        scorePanelFloor2.add(jLabel80);

        bucket210.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket210.setForeground(new java.awt.Color(255, 255, 255));
        bucket210.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket210.setText("0");
        bucket210.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket210MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket210);

        sphere210.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere210.setForeground(new java.awt.Color(255, 255, 255));
        sphere210.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere210.setText("0");
        sphere210.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere210MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere210);

        box210.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box210.setForeground(new java.awt.Color(255, 255, 255));
        box210.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box210.setText("0");
        box210.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box210MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box210);

        jLabel79.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel79.setForeground(new java.awt.Color(255, 255, 255));
        jLabel79.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel79.setText("9");
        scorePanelFloor2.add(jLabel79);

        bucket29.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket29.setForeground(new java.awt.Color(255, 255, 255));
        bucket29.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket29.setText("0");
        bucket29.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket29MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket29);

        sphere29.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere29.setForeground(new java.awt.Color(255, 255, 255));
        sphere29.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere29.setText("0");
        sphere29.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere29MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere29);

        box29.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box29.setForeground(new java.awt.Color(255, 255, 255));
        box29.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box29.setText("0");
        box29.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box29MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box29);

        jLabel77.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel77.setForeground(new java.awt.Color(255, 255, 255));
        jLabel77.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel77.setText("8");
        scorePanelFloor2.add(jLabel77);

        bucket28.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket28.setForeground(new java.awt.Color(255, 255, 255));
        bucket28.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket28.setText("0");
        bucket28.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket28MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket28);

        sphere28.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere28.setForeground(new java.awt.Color(255, 255, 255));
        sphere28.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere28.setText("0");
        sphere28.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere28MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere28);

        box28.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box28.setForeground(new java.awt.Color(255, 255, 255));
        box28.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box28.setText("0");
        box28.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box28MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box28);

        jLabel76.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel76.setForeground(new java.awt.Color(255, 255, 255));
        jLabel76.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel76.setText("7");
        scorePanelFloor2.add(jLabel76);

        bucket27.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket27.setForeground(new java.awt.Color(255, 255, 255));
        bucket27.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket27.setText("0");
        bucket27.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket27MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket27);

        sphere27.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere27.setForeground(new java.awt.Color(255, 255, 255));
        sphere27.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere27.setText("0");
        sphere27.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere27MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere27);

        box27.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box27.setForeground(new java.awt.Color(255, 255, 255));
        box27.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box27.setText("0");
        box27.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box27MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box27);

        jLabel75.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel75.setForeground(new java.awt.Color(255, 255, 255));
        jLabel75.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel75.setText("6");
        scorePanelFloor2.add(jLabel75);

        bucket26.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket26.setForeground(new java.awt.Color(255, 255, 255));
        bucket26.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket26.setText("0");
        bucket26.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket26MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket26);

        sphere26.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere26.setForeground(new java.awt.Color(255, 255, 255));
        sphere26.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere26.setText("0");
        sphere26.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere26MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere26);

        box26.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box26.setForeground(new java.awt.Color(255, 255, 255));
        box26.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box26.setText("0");
        box26.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box26MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box26);

        jLabel74.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel74.setForeground(new java.awt.Color(255, 255, 255));
        jLabel74.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel74.setText("5");
        scorePanelFloor2.add(jLabel74);

        bucket25.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket25.setForeground(new java.awt.Color(255, 255, 255));
        bucket25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket25.setText("0");
        bucket25.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket25MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket25);

        sphere25.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere25.setForeground(new java.awt.Color(255, 255, 255));
        sphere25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere25.setText("0");
        sphere25.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere25MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere25);

        box25.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box25.setForeground(new java.awt.Color(255, 255, 255));
        box25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box25.setText("0");
        box25.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box25MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box25);

        jLabel78.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel78.setForeground(new java.awt.Color(255, 255, 255));
        jLabel78.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel78.setText("4");
        scorePanelFloor2.add(jLabel78);

        bucket24.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket24.setForeground(new java.awt.Color(255, 255, 255));
        bucket24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket24.setText("0");
        bucket24.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket24MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket24);

        sphere24.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere24.setForeground(new java.awt.Color(255, 255, 255));
        sphere24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere24.setText("0");
        sphere24.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere24MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere24);

        box24.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box24.setForeground(new java.awt.Color(255, 255, 255));
        box24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box24.setText("0");
        box24.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box24MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box24);

        jLabel82.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel82.setForeground(new java.awt.Color(255, 255, 255));
        jLabel82.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel82.setText("3");
        scorePanelFloor2.add(jLabel82);

        bucket23.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket23.setForeground(new java.awt.Color(255, 255, 255));
        bucket23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket23.setText("0");
        bucket23.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket23MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket23);

        sphere23.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere23.setForeground(new java.awt.Color(255, 255, 255));
        sphere23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere23.setText("0");
        sphere23.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere23MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere23);

        box23.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box23.setForeground(new java.awt.Color(255, 255, 255));
        box23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box23.setText("0");
        box23.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box23MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box23);

        jLabel86.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel86.setForeground(new java.awt.Color(255, 255, 255));
        jLabel86.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel86.setText("2");
        scorePanelFloor2.add(jLabel86);

        bucket22.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket22.setForeground(new java.awt.Color(255, 255, 255));
        bucket22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket22.setText("0");
        bucket22.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket22MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket22);

        sphere22.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere22.setForeground(new java.awt.Color(255, 255, 255));
        sphere22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere22.setText("0");
        sphere22.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere22MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere22);

        box22.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box22.setForeground(new java.awt.Color(255, 255, 255));
        box22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box22.setText("0");
        box22.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box22MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box22);

        jLabel90.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel90.setForeground(new java.awt.Color(255, 255, 255));
        jLabel90.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel90.setText("1");
        scorePanelFloor2.add(jLabel90);

        bucket21.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket21.setForeground(new java.awt.Color(255, 255, 255));
        bucket21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket21.setText("0");
        bucket21.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket21MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(bucket21);

        sphere21.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere21.setForeground(new java.awt.Color(255, 255, 255));
        sphere21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere21.setText("0");
        sphere21.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere21MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(sphere21);

        box21.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box21.setForeground(new java.awt.Color(255, 255, 255));
        box21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box21.setText("0");
        box21.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box21MouseClicked(evt);
            }
        });
        scorePanelFloor2.add(box21);

        timeLabel.setBackground(new java.awt.Color(0, 0, 0));
        timeLabel.setFont(new java.awt.Font("Arial", 0, 80)); // NOI18N
        timeLabel.setForeground(new java.awt.Color(255, 255, 255));
        timeLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        timeLabel.setText("5:00");
        timeLabel.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                timeLabelMouseClicked(evt);
            }
        });

        scorePanelFloor3.setBackground(new java.awt.Color(0, 0, 0));
        scorePanelFloor3.setLayout(new java.awt.GridLayout(11, 4));

        jLabel1.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Niveau");
        scorePanelFloor3.add(jLabel1);

        Height.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        Height.setForeground(new java.awt.Color(255, 255, 255));
        Height.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Height.setText("Sceau");
        scorePanelFloor3.add(Height);

        jLabel2.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel2.setForeground(new java.awt.Color(255, 255, 255));
        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel2.setText("Sphère");
        scorePanelFloor3.add(jLabel2);

        jLabel3.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel3.setForeground(new java.awt.Color(255, 255, 255));
        jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel3.setText("Boîte");
        scorePanelFloor3.add(jLabel3);

        jLabel23.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel23.setForeground(new java.awt.Color(255, 255, 255));
        jLabel23.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel23.setText("10");
        scorePanelFloor3.add(jLabel23);

        bucket310.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket310.setForeground(new java.awt.Color(255, 255, 255));
        bucket310.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket310.setText("0");
        bucket310.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket310MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket310);

        sphere310.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere310.setForeground(new java.awt.Color(255, 255, 255));
        sphere310.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere310.setText("0");
        sphere310.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere310MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere310);

        box310.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box310.setForeground(new java.awt.Color(255, 255, 255));
        box310.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box310.setText("0");
        box310.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box310MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box310);

        jLabel22.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel22.setForeground(new java.awt.Color(255, 255, 255));
        jLabel22.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel22.setText("9");
        scorePanelFloor3.add(jLabel22);

        bucket39.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket39.setForeground(new java.awt.Color(255, 255, 255));
        bucket39.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket39.setText("0");
        bucket39.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket39MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket39);

        sphere39.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere39.setForeground(new java.awt.Color(255, 255, 255));
        sphere39.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere39.setText("0");
        sphere39.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere39MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere39);

        box39.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box39.setForeground(new java.awt.Color(255, 255, 255));
        box39.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box39.setText("0");
        box39.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box39MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box39);

        jLabel21.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel21.setForeground(new java.awt.Color(255, 255, 255));
        jLabel21.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel21.setText("8");
        scorePanelFloor3.add(jLabel21);

        bucket38.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket38.setForeground(new java.awt.Color(255, 255, 255));
        bucket38.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket38.setText("0");
        bucket38.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket38MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket38);

        sphere38.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere38.setForeground(new java.awt.Color(255, 255, 255));
        sphere38.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere38.setText("0");
        sphere38.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere38MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere38);

        box38.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box38.setForeground(new java.awt.Color(255, 255, 255));
        box38.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box38.setText("0");
        box38.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box38MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box38);

        jLabel20.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel20.setForeground(new java.awt.Color(255, 255, 255));
        jLabel20.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel20.setText("7");
        scorePanelFloor3.add(jLabel20);

        bucket37.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket37.setForeground(new java.awt.Color(255, 255, 255));
        bucket37.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket37.setText("0");
        bucket37.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket37MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket37);

        sphere37.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere37.setForeground(new java.awt.Color(255, 255, 255));
        sphere37.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere37.setText("0");
        sphere37.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere37MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere37);

        box37.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box37.setForeground(new java.awt.Color(255, 255, 255));
        box37.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box37.setText("0");
        box37.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box37MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box37);

        jLabel19.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel19.setForeground(new java.awt.Color(255, 255, 255));
        jLabel19.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel19.setText("6");
        scorePanelFloor3.add(jLabel19);

        bucket36.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket36.setForeground(new java.awt.Color(255, 255, 255));
        bucket36.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket36.setText("0");
        bucket36.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket36MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket36);

        sphere36.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere36.setForeground(new java.awt.Color(255, 255, 255));
        sphere36.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere36.setText("0");
        sphere36.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere36MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere36);

        box36.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box36.setForeground(new java.awt.Color(255, 255, 255));
        box36.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box36.setText("0");
        box36.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box36MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box36);

        jLabel5.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel5.setForeground(new java.awt.Color(255, 255, 255));
        jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel5.setText("5");
        scorePanelFloor3.add(jLabel5);

        bucket35.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket35.setForeground(new java.awt.Color(255, 255, 255));
        bucket35.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket35.setText("0");
        bucket35.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket35MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket35);

        sphere35.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere35.setForeground(new java.awt.Color(255, 255, 255));
        sphere35.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere35.setText("0");
        sphere35.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere35MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere35);

        box35.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box35.setForeground(new java.awt.Color(255, 255, 255));
        box35.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box35.setText("0");
        box35.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box35MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box35);

        jLabel4.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel4.setForeground(new java.awt.Color(255, 255, 255));
        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel4.setText("4");
        scorePanelFloor3.add(jLabel4);

        bucket34.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket34.setForeground(new java.awt.Color(255, 255, 255));
        bucket34.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket34.setText("0");
        bucket34.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket34MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket34);

        sphere34.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere34.setForeground(new java.awt.Color(255, 255, 255));
        sphere34.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere34.setText("0");
        sphere34.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere34MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere34);

        box34.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box34.setForeground(new java.awt.Color(255, 255, 255));
        box34.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box34.setText("0");
        box34.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box34MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box34);

        jLabel12.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel12.setForeground(new java.awt.Color(255, 255, 255));
        jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel12.setText("3");
        scorePanelFloor3.add(jLabel12);

        bucket33.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket33.setForeground(new java.awt.Color(255, 255, 255));
        bucket33.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket33.setText("0");
        bucket33.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket33MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket33);

        sphere33.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere33.setForeground(new java.awt.Color(255, 255, 255));
        sphere33.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere33.setText("0");
        sphere33.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere33MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere33);

        box33.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box33.setForeground(new java.awt.Color(255, 255, 255));
        box33.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box33.setText("0");
        box33.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box33MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box33);

        jLabel16.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel16.setForeground(new java.awt.Color(255, 255, 255));
        jLabel16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel16.setText("2");
        scorePanelFloor3.add(jLabel16);

        bucket32.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket32.setForeground(new java.awt.Color(255, 255, 255));
        bucket32.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket32.setText("0");
        bucket32.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket32MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket32);

        sphere32.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere32.setForeground(new java.awt.Color(255, 255, 255));
        sphere32.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere32.setText("0");
        sphere32.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere32MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere32);

        box32.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box32.setForeground(new java.awt.Color(255, 255, 255));
        box32.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box32.setText("0");
        box32.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box32MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box32);

        jLabel17.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        jLabel17.setForeground(new java.awt.Color(255, 255, 255));
        jLabel17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel17.setText("1");
        scorePanelFloor3.add(jLabel17);

        bucket31.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        bucket31.setForeground(new java.awt.Color(255, 255, 255));
        bucket31.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        bucket31.setText("0");
        bucket31.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                bucket31MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(bucket31);

        sphere31.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        sphere31.setForeground(new java.awt.Color(255, 255, 255));
        sphere31.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        sphere31.setText("0");
        sphere31.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                sphere31MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(sphere31);

        box31.setFont(new java.awt.Font("Arial", 0, 28)); // NOI18N
        box31.setForeground(new java.awt.Color(255, 255, 255));
        box31.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        box31.setText("0");
        box31.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box31MouseClicked(evt);
            }
        });
        scorePanelFloor3.add(box31);

        grosScorePanel.setBackground(new java.awt.Color(0, 0, 0));
        grosScorePanel.setLayout(new java.awt.GridLayout(15, 1));

        jLabel25.setBackground(new java.awt.Color(0, 0, 0));
        jLabel25.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        jLabel25.setForeground(new java.awt.Color(255, 255, 255));
        jLabel25.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel25.setText("Gros Score");
        jLabel25.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        grosScorePanel.add(jLabel25);

        jPanel17.setBackground(new java.awt.Color(0, 0, 0));
        jPanel17.setLayout(new java.awt.GridLayout(1, 4));

        jLabel24.setFont(new java.awt.Font("Arial", 1, 15)); // NOI18N
        jLabel24.setForeground(new java.awt.Color(255, 255, 255));
        jLabel24.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel24.setText("Type");
        jPanel17.add(jLabel24);

        jLabel26.setFont(new java.awt.Font("Arial", 1, 15)); // NOI18N
        jLabel26.setForeground(new java.awt.Color(255, 255, 255));
        jLabel26.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel26.setText("Niveau");
        jPanel17.add(jLabel26);

        jLabel27.setFont(new java.awt.Font("Arial", 1, 15)); // NOI18N
        jLabel27.setForeground(new java.awt.Color(255, 255, 255));
        jLabel27.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel27.setText("Structure");
        jPanel17.add(jLabel27);

        jLabel28.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jPanel17.add(jLabel28);

        grosScorePanel.add(jPanel17);

        jPanel16.setLayout(new java.awt.GridLayout(1, 4));

        newType.setModel(new DefaultComboBoxModel<>(types.values()));
        newType.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                newTypeActionPerformed(evt);
            }
        });
        jPanel16.add(newType);

        newNiveau.setFont(new java.awt.Font("Arial", 0, 15)); // NOI18N
        newNiveau.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jPanel16.add(newNiveau);

        newStruc.setFont(new java.awt.Font("Arial", 0, 15)); // NOI18N
        newStruc.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        jPanel16.add(newStruc);

        jButton2.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jButton2.setText("Ok");
        jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jButton2MouseClicked(evt);
            }
        });
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        jPanel16.add(jButton2);

        grosScorePanel.add(jPanel16);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(scorePanelFloor1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scorePanelFloor2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(timeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 314, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(scorePanelFloor3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(grosScorePanel, javax.swing.GroupLayout.PREFERRED_SIZE, 274, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scorePanelFloor3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(timeLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(scorePanelFloor2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(106, 106, 106)
                        .addComponent(scorePanelFloor1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(grosScorePanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        jMenu3.setText("File");
        jMenu3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu3ActionPerformed(evt);
            }
        });

        jMenuItem2.setLabel("Reset");
        jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem2ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem2);

        jMenuItem4.setText("Scores");
        jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem4ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem4);

        jMenuItem3.setLabel("Exit");
        jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem3ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem3);

        jMenuBar2.add(jMenu3);

        setJMenuBar(jMenuBar2);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(schoolPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(schoolPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    
    public void tick() {
        time -= 1;
        setTimeLabel();
    }

    public void reset() {
        timer.stop();
        time = TIME;
        setTimeLabel();
        canScore1.setSelected(false);
        canScore2.setSelected(false);
        canScore3.setSelected(false);
        canScore4.setSelected(false);
        canScore5.setSelected(false);
        box11.setText("0");
        box12.setText("0");
        box13.setText("0");
        box14.setText("0");
        box15.setText("0");
        box21.setText("0");
        box22.setText("0");
        box23.setText("0");
        box24.setText("0");
        box25.setText("0");
        box31.setText("0");
        box32.setText("0");
        box33.setText("0");
        box34.setText("0");
        box35.setText("0");
        box16.setText("0");
        box17.setText("0");
        box18.setText("0");
        box19.setText("0");
        box110.setText("0");
        box26.setText("0");
        box27.setText("0");
        box28.setText("0");
        box29.setText("0");
        box210.setText("0");
        box36.setText("0");
        box37.setText("0");
        box38.setText("0");
        box39.setText("0");
        box310.setText("0");
        timeLabel.setForeground(Color.white);
        customLvl1.setText("0");
customLvl2.setText("0");
customLvl3.setText("0");
customLvl4.setText("0");
customLvl5.setText("0");
customStruc1.setText("0");
customStruc2.setText("0");
customStruc3.setText("0");
customStruc4.setText("0");
customStruc5.setText("0");
        sphere11.setText("0");
        sphere12.setText("0");
        sphere13.setText("0");
        sphere14.setText("0");
        sphere15.setText("0");
        sphere21.setText("0");
        sphere22.setText("0");
        sphere23.setText("0");
        sphere24.setText("0");
        sphere25.setText("0");
        sphere31.setText("0");
        sphere32.setText("0");
        sphere33.setText("0");
        sphere34.setText("0");
        sphere35.setText("0");
        sphere36.setText("0");
        sphere37.setText("0");
        sphere38.setText("0");
        sphere39.setText("0");
        sphere310.setText("0");
        sphere16.setText("0");
        sphere17.setText("0");
        sphere18.setText("0");
        sphere19.setText("0");
        sphere110.setText("0");
        sphere26.setText("0");
        sphere27.setText("0");
        sphere28.setText("0");
        sphere29.setText("0");
        sphere210.setText("0");

        bucket11.setText("0");
        bucket12.setText("0");
        bucket13.setText("0");
        bucket14.setText("0");
        bucket15.setText("0");
        bucket21.setText("0");
        bucket22.setText("0");
        bucket23.setText("0");
        bucket24.setText("0");
        bucket25.setText("0");
        bucket31.setText("0");
        bucket32.setText("0");
        bucket33.setText("0");
        bucket34.setText("0");
        bucket35.setText("0");
        bucket36.setText("0");
        bucket37.setText("0");
        bucket38.setText("0");
        bucket39.setText("0");
        bucket310.setText("0");
        bucket26.setText("0");
        bucket27.setText("0");
        bucket28.setText("0");
        bucket29.setText("0");
        bucket210.setText("0");
        bucket16.setText("0");
        bucket17.setText("0");
        bucket18.setText("0");
        bucket19.setText("0");
        bucket110.setText("0");

        canScore1.setText("0");
        canScore2.setText("0");
        canScore3.setText("0");
        canScore4.setText("0");
        canScore5.setText("0");

    }
    // <editor-fold defaultstate="collapsed" desc="Listeners">


    private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem2ActionPerformed
        int i =JOptionPane.showConfirmDialog(null,"Proceed?!","ALERT", JOptionPane.YES_NO_OPTION);
        
        if(i==0) {
        reset();
        }
        this.toFront();
        this.setState(Frame.NORMAL);
        
    }//GEN-LAST:event_jMenuItem2ActionPerformed

    private void school1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_school1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_school1ActionPerformed

    private void canScore1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_canScore1ActionPerformed
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_canScore1ActionPerformed

    private void school2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_school2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_school2ActionPerformed

    private void canScore2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_canScore2ActionPerformed
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_canScore2ActionPerformed

    private void school3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_school3ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_school3ActionPerformed

    private void canScore3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_canScore3ActionPerformed
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_canScore3ActionPerformed

    private void school4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_school4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_school4ActionPerformed

    private void canScore4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_canScore4ActionPerformed
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_canScore4ActionPerformed

    private void school5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_school5ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_school5ActionPerformed

    private void canScore5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_canScore5ActionPerformed
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_canScore5ActionPerformed

    private void customStruc1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customStruc1MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customStruc1.getText()) != 15) {
            number = Integer.parseInt(customStruc1.getText());
            number += 1;
            customStruc1.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customStruc1.getText()) != 0) {
            number = Integer.parseInt(customStruc1.getText());
            number -= 1;
            customStruc1.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customStruc1MouseClicked

    private void customLvl1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customLvl1MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customLvl1.getText()) != 3) {
            number = Integer.parseInt(customLvl1.getText());
            number += 1;
            customLvl1.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customLvl1.getText()) != 0) {
            number = Integer.parseInt(customLvl1.getText());
            number -= 1;
            customLvl1.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customLvl1MouseClicked

    private void customLvl2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customLvl2MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customLvl2.getText()) != 3) {
            number = Integer.parseInt(customLvl2.getText());
            number += 1;
            customLvl2.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customLvl2.getText()) != 0) {
            number = Integer.parseInt(customLvl2.getText());
            number -= 1;
            customLvl2.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customLvl2MouseClicked

    private void customStruc2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customStruc2MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customStruc2.getText()) != 15) {
            number = Integer.parseInt(customStruc2.getText());
            number += 1;
            customStruc2.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customStruc2.getText()) != 0) {
            number = Integer.parseInt(customStruc2.getText());
            number -= 1;
            customStruc2.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customStruc2MouseClicked

    private void customLvl3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customLvl3MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customLvl3.getText()) != 3) {
            number = Integer.parseInt(customLvl3.getText());
            number += 1;
            customLvl3.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customLvl3.getText()) != 0) {
            number = Integer.parseInt(customLvl3.getText());
            number -= 1;
            customLvl3.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customLvl3MouseClicked

    private void customStruc3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customStruc3MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customStruc3.getText()) != 15) {
            number = Integer.parseInt(customStruc3.getText());
            number += 1;
            customStruc3.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customStruc3.getText()) != 0) {
            number = Integer.parseInt(customStruc3.getText());
            number -= 1;
            customStruc3.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customStruc3MouseClicked

    private void customLvl4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customLvl4MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customLvl4.getText()) != 3) {
            number = Integer.parseInt(customLvl4.getText());
            number += 1;
            customLvl4.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customLvl4.getText()) != 0) {
            number = Integer.parseInt(customLvl4.getText());
            number -= 1;
            customLvl4.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customLvl4MouseClicked

    private void customStruc4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customStruc4MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customStruc4.getText()) != 15) {
            number = Integer.parseInt(customStruc4.getText());
            number += 1;
            customStruc4.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customStruc4.getText()) != 0) {
            number = Integer.parseInt(customStruc4.getText());
            number -= 1;
            customStruc4.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customStruc4MouseClicked

    private void customLvl5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customLvl5MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customLvl5.getText()) != 3) {
            number = Integer.parseInt(customLvl5.getText());
            number += 1;
            customLvl5.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customLvl5.getText()) != 0) {
            number = Integer.parseInt(customLvl5.getText());
            number -= 1;
            customLvl5.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customLvl5MouseClicked

    private void customStruc5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_customStruc5MouseClicked
        int number;
        if (evt.getButton() == 1 && Integer.parseInt(customStruc5.getText()) != 15) {
            number = Integer.parseInt(customStruc5.getText());
            number += 1;
            customStruc5.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(customStruc5.getText()) != 0) {
            number = Integer.parseInt(customStruc5.getText());
            number -= 1;
            customStruc5.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_customStruc5MouseClicked

    private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed
        int i =JOptionPane.showConfirmDialog(null,"Proceed?","ALERT", JOptionPane.YES_NO_OPTION);
        
        if(i==0) {
        
        school1.getSelectedItem();
        scoreFrame=new Scores(canScore1.getText(), canScore2.getText(), canScore3.getText(), canScore4.getText(), canScore5.getText(), school1.getSelectedItem().toString(), school2.getSelectedItem().toString(), school3.getSelectedItem().toString(), school4.getSelectedItem().toString(), school5.getSelectedItem().toString(), this);
        scoreFrame.setVisible(true);
        } else {
           this.toFront();
        this.setState(Frame.NORMAL); 
        }
        
    }//GEN-LAST:event_jMenuItem4ActionPerformed
    
    public void setFront() {
        this.toFront();
        this.setState(Frame.NORMAL);
    }
    private void jMenu3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu3ActionPerformed
        int i =JOptionPane.showConfirmDialog(null,"Proceed?","ALERT", JOptionPane.YES_NO_OPTION);
        
        if(i==0) {
        
        this.dispatchEvent(new WindowEvent(this, WindowEvent.WINDOW_CLOSING));
        }
    }//GEN-LAST:event_jMenu3ActionPerformed

    private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem3ActionPerformed
        int i =JOptionPane.showConfirmDialog(null,"Proceed?","ALERT", JOptionPane.YES_NO_OPTION);
        
        if(i==0) {
        
        this.dispatchEvent(new WindowEvent(this, WindowEvent.WINDOW_CLOSING));
        } else {
           this.toFront();
        this.setState(Frame.NORMAL); 
        }
        
    }//GEN-LAST:event_jMenuItem3ActionPerformed

    private void box31MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box31MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box31.getText());
            number += 1;
            box31.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box31.getText()) != 0) {
            number = Integer.parseInt(box31.getText());
            number -= 1;
            box31.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box31MouseClicked

    private void sphere31MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere31MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere31.getText());
            number += 1;
            sphere31.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere31.getText()) != 0) {
            number = Integer.parseInt(sphere31.getText());
            number -= 1;
            sphere31.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere31MouseClicked

    private void bucket31MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket31MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket31.getText());
            number += 1;
            bucket31.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket31.getText()) != 0) {
            number = Integer.parseInt(bucket31.getText());
            number -= 1;
            bucket31.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket31MouseClicked

    private void box32MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box32MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box32.getText());
            number += 1;
            box32.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box32.getText()) != 0) {
            number = Integer.parseInt(box32.getText());
            number -= 1;
            box32.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box32MouseClicked

    private void sphere32MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere32MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere32.getText());
            number += 1;
            sphere32.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere32.getText()) != 0) {
            number = Integer.parseInt(sphere32.getText());
            number -= 1;
            sphere32.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere32MouseClicked

    private void bucket32MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket32MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket32.getText());
            number += 1;
            bucket32.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket32.getText()) != 0) {
            number = Integer.parseInt(bucket32.getText());
            number -= 1;
            bucket32.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket32MouseClicked

    private void box33MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box33MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box33.getText());
            number += 1;
            box33.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box33.getText()) != 0) {
            number = Integer.parseInt(box33.getText());
            number -= 1;
            box33.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box33MouseClicked

    private void sphere33MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere33MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere33.getText());
            number += 1;
            sphere33.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere33.getText()) != 0) {
            number = Integer.parseInt(sphere33.getText());
            number -= 1;
            sphere33.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere33MouseClicked

    private void bucket33MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket33MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket33.getText());
            number += 1;
            bucket33.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket33.getText()) != 0) {
            number = Integer.parseInt(bucket33.getText());
            number -= 1;
            bucket33.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket33MouseClicked

    private void box34MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box34MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box34.getText());
            number += 1;
            box34.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box34.getText()) != 0) {
            number = Integer.parseInt(box34.getText());
            number -= 1;
            box34.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box34MouseClicked

    private void sphere34MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere34MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere34.getText());
            number += 1;
            sphere34.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere34.getText()) != 0) {
            number = Integer.parseInt(sphere34.getText());
            number -= 1;
            sphere34.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere34MouseClicked

    private void bucket34MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket34MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket34.getText());
            number += 1;
            bucket34.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket34.getText()) != 0) {
            number = Integer.parseInt(bucket34.getText());
            number -= 1;
            bucket34.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket34MouseClicked

    private void box35MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box35MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box35.getText());
            number += 1;
            box35.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box35.getText()) != 0) {
            number = Integer.parseInt(box35.getText());
            number -= 1;
            box35.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box35MouseClicked

    private void sphere35MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere35MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere35.getText());
            number += 1;
            sphere35.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere35.getText()) != 0) {
            number = Integer.parseInt(sphere35.getText());
            number -= 1;
            sphere35.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere35MouseClicked

    private void bucket35MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket35MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket35.getText());
            number += 1;
            bucket35.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket35.getText()) != 0) {
            number = Integer.parseInt(bucket35.getText());
            number -= 1;
            bucket35.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket35MouseClicked

    private void box36MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box36MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box36.getText());
            number += 1;
            box36.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box36.getText()) != 0) {
            number = Integer.parseInt(box36.getText());
            number -= 1;
            box36.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box36MouseClicked

    private void sphere36MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere36MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere36.getText());
            number += 1;
            sphere36.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere36.getText()) != 0) {
            number = Integer.parseInt(sphere36.getText());
            number -= 1;
            sphere36.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere36MouseClicked

    private void bucket36MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket36MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket36.getText());
            number += 1;
            bucket36.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket36.getText()) != 0) {
            number = Integer.parseInt(bucket36.getText());
            number -= 1;
            bucket36.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket36MouseClicked

    private void box37MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box37MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box37.getText());
            number += 1;
            box37.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box37.getText()) != 0) {
            number = Integer.parseInt(box37.getText());
            number -= 1;
            box37.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box37MouseClicked

    private void sphere37MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere37MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere37.getText());
            number += 1;
            sphere37.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere37.getText()) != 0) {
            number = Integer.parseInt(sphere37.getText());
            number -= 1;
            sphere37.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere37MouseClicked

    private void bucket37MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket37MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket37.getText());
            number += 1;
            bucket37.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket37.getText()) != 0) {
            number = Integer.parseInt(bucket37.getText());
            number -= 1;
            bucket37.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket37MouseClicked

    private void box38MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box38MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box38.getText());
            number += 1;
            box38.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box38.getText()) != 0) {
            number = Integer.parseInt(box38.getText());
            number -= 1;
            box38.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box38MouseClicked

    private void sphere38MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere38MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere38.getText());
            number += 1;
            sphere38.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere38.getText()) != 0) {
            number = Integer.parseInt(sphere38.getText());
            number -= 1;
            sphere38.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere38MouseClicked

    private void bucket38MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket38MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket38.getText());
            number += 1;
            bucket38.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket38.getText()) != 0) {
            number = Integer.parseInt(bucket38.getText());
            number -= 1;
            bucket38.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket38MouseClicked

    private void box39MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box39MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box39.getText());
            number += 1;
            box39.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box39.getText()) != 0) {
            number = Integer.parseInt(box39.getText());
            number -= 1;
            box39.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box39MouseClicked

    private void sphere39MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere39MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere39.getText());
            number += 1;
            sphere39.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere39.getText()) != 0) {
            number = Integer.parseInt(sphere39.getText());
            number -= 1;
            sphere39.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere39MouseClicked

    private void bucket39MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket39MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket39.getText());
            number += 1;
            bucket39.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket39.getText()) != 0) {
            number = Integer.parseInt(bucket39.getText());
            number -= 1;
            bucket39.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket39MouseClicked

    private void box310MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box310MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box310.getText());
            number += 1;
            box310.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box310.getText()) != 0) {
            number = Integer.parseInt(box310.getText());
            number -= 1;
            box310.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box310MouseClicked

    private void sphere310MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere310MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere310.getText());
            number += 1;
            sphere310.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere310.getText()) != 0) {
            number = Integer.parseInt(sphere310.getText());
            number -= 1;
            sphere310.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere310MouseClicked

    private void bucket310MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket310MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket310.getText());
            number += 1;
            bucket310.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket310.getText()) != 0) {
            number = Integer.parseInt(bucket310.getText());
            number -= 1;
            bucket310.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket310MouseClicked

    private void timeLabelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_timeLabelMouseClicked
        timer.start();
    }//GEN-LAST:event_timeLabelMouseClicked

    private void box21MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box21MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box21.getText());
            number += 1;
            box21.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box21.getText()) != 0) {
            number = Integer.parseInt(box21.getText());
            number -= 1;
            box21.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box21MouseClicked

    private void sphere21MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere21MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere21.getText());
            number += 1;
            sphere21.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere21.getText()) != 0) {
            number = Integer.parseInt(sphere21.getText());
            number -= 1;
            sphere21.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere21MouseClicked

    private void bucket21MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket21MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket21.getText());
            number += 1;
            bucket21.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket21.getText()) != 0) {
            number = Integer.parseInt(bucket21.getText());
            number -= 1;
            bucket21.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket21MouseClicked

    private void box22MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box22MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box22.getText());
            number += 1;
            box22.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box22.getText()) != 0) {
            number = Integer.parseInt(box22.getText());
            number -= 1;
            box22.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box22MouseClicked

    private void sphere22MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere22MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere22.getText());
            number += 1;
            sphere22.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere22.getText()) != 0) {
            number = Integer.parseInt(sphere22.getText());
            number -= 1;
            sphere22.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere22MouseClicked

    private void bucket22MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket22MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket22.getText());
            number += 1;
            bucket22.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket22.getText()) != 0) {
            number = Integer.parseInt(bucket22.getText());
            number -= 1;
            bucket22.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket22MouseClicked

    private void box23MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box23MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box23.getText());
            number += 1;
            box23.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box23.getText()) != 0) {
            number = Integer.parseInt(box23.getText());
            number -= 1;
            box23.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box23MouseClicked

    private void sphere23MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere23MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere23.getText());
            number += 1;
            sphere23.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere23.getText()) != 0) {
            number = Integer.parseInt(sphere23.getText());
            number -= 1;
            sphere23.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere23MouseClicked

    private void bucket23MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket23MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket23.getText());
            number += 1;
            bucket23.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket23.getText()) != 0) {
            number = Integer.parseInt(bucket23.getText());
            number -= 1;
            bucket23.setText("" + number);
        }
        MainNemo.calculateScore(this);
        }

        public boolean getCanScore1() {
            return canScore1.isSelected();
        }

        public boolean getCanScore2() {
            return canScore2.isSelected();
        }

        public boolean getCanScore3() {
            return canScore3.isSelected();
        }

        public boolean getCanScore4() {
            return canScore4.isSelected();
        }

        public boolean getCanScore5() {
            return canScore5.isSelected();
    }//GEN-LAST:event_bucket23MouseClicked

    private void box24MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box24MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box24.getText());
            number += 1;
            box24.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box24.getText()) != 0) {
            number = Integer.parseInt(box24.getText());
            number -= 1;
            box24.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box24MouseClicked

    private void sphere24MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere24MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere24.getText());
            number += 1;
            sphere24.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere24.getText()) != 0) {
            number = Integer.parseInt(sphere24.getText());
            number -= 1;
            sphere24.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere24MouseClicked

    private void bucket24MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket24MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket24.getText());
            number += 1;
            bucket24.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket24.getText()) != 0) {
            number = Integer.parseInt(bucket24.getText());
            number -= 1;
            bucket24.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket24MouseClicked

    private void box25MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box25MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box25.getText());
            number += 1;
            box25.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box25.getText()) != 0) {
            number = Integer.parseInt(box25.getText());
            number -= 1;
            box25.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box25MouseClicked

    private void sphere25MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere25MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere25.getText());
            number += 1;
            sphere25.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere25.getText()) != 0) {
            number = Integer.parseInt(sphere25.getText());
            number -= 1;
            sphere25.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere25MouseClicked

    private void bucket25MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket25MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket25.getText());
            number += 1;
            bucket25.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket25.getText()) != 0) {
            number = Integer.parseInt(bucket25.getText());
            number -= 1;
            bucket25.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket25MouseClicked

    private void box26MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box26MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box26.getText());
            number += 1;
            box26.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box26.getText()) != 0) {
            number = Integer.parseInt(box26.getText());
            number -= 1;
            box26.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box26MouseClicked

    private void sphere26MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere26MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere26.getText());
            number += 1;
            sphere26.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere26.getText()) != 0) {
            number = Integer.parseInt(sphere26.getText());
            number -= 1;
            sphere26.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere26MouseClicked

    private void bucket26MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket26MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket26.getText());
            number += 1;
            bucket26.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket26.getText()) != 0) {
            number = Integer.parseInt(bucket26.getText());
            number -= 1;
            bucket26.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket26MouseClicked

    private void box27MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box27MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box27.getText());
            number += 1;
            box27.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box27.getText()) != 0) {
            number = Integer.parseInt(box27.getText());
            number -= 1;
            box27.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box27MouseClicked

    private void sphere27MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere27MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere27.getText());
            number += 1;
            sphere27.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere27.getText()) != 0) {
            number = Integer.parseInt(sphere27.getText());
            number -= 1;
            sphere27.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere27MouseClicked

    private void bucket27MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket27MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket27.getText());
            number += 1;
            bucket27.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket27.getText()) != 0) {
            number = Integer.parseInt(bucket27.getText());
            number -= 1;
            bucket27.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket27MouseClicked

    private void box28MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box28MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box28.getText());
            number += 1;
            box28.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box28.getText()) != 0) {
            number = Integer.parseInt(box28.getText());
            number -= 1;
            box28.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box28MouseClicked

    private void sphere28MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere28MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere28.getText());
            number += 1;
            sphere28.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere28.getText()) != 0) {
            number = Integer.parseInt(sphere28.getText());
            number -= 1;
            sphere28.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere28MouseClicked

    private void bucket28MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket28MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket28.getText());
            number += 1;
            bucket28.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket28.getText()) != 0) {
            number = Integer.parseInt(bucket28.getText());
            number -= 1;
            bucket28.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket28MouseClicked

    private void box29MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box29MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box29.getText());
            number += 1;
            box29.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box29.getText()) != 0) {
            number = Integer.parseInt(box29.getText());
            number -= 1;
            box29.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box29MouseClicked

    private void sphere29MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere29MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere29.getText());
            number += 1;
            sphere29.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere29.getText()) != 0) {
            number = Integer.parseInt(sphere29.getText());
            number -= 1;
            sphere29.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere29MouseClicked

    private void bucket29MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket29MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket29.getText());
            number += 1;
            bucket29.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket29.getText()) != 0) {
            number = Integer.parseInt(bucket29.getText());
            number -= 1;
            bucket29.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket29MouseClicked

    private void box210MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box210MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box210.getText());
            number += 1;
            box210.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box210.getText()) != 0) {
            number = Integer.parseInt(box210.getText());
            number -= 1;
            box210.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box210MouseClicked

    private void sphere210MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere210MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere210.getText());
            number += 1;
            sphere210.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere210.getText()) != 0) {
            number = Integer.parseInt(sphere210.getText());
            number -= 1;
            sphere210.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere210MouseClicked

    private void bucket210MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket210MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket210.getText());
            number += 1;
            bucket210.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket210.getText()) != 0) {
            number = Integer.parseInt(bucket210.getText());
            number -= 1;
            bucket210.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket210MouseClicked

    private void box11MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box11MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box11.getText());
            number += 1;
            box11.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box11.getText()) != 0) {
            number = Integer.parseInt(box11.getText());
            number -= 1;
            box11.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box11MouseClicked

    private void sphere11MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere11MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere11.getText());
            number += 1;
            sphere11.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere11.getText()) != 0) {
            number = Integer.parseInt(sphere11.getText());
            number -= 1;
            sphere11.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere11MouseClicked

    private void bucket11MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket11MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket11.getText());
            number += 1;
            bucket11.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket11.getText()) != 0) {
            number = Integer.parseInt(bucket11.getText());
            number -= 1;
            bucket11.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket11MouseClicked

    private void box12MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box12MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box12.getText());
            number += 1;
            box12.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box12.getText()) != 0) {
            number = Integer.parseInt(box12.getText());
            number -= 1;
            box12.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box12MouseClicked

    private void sphere12MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere12MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere12.getText());
            number += 1;
            sphere12.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere12.getText()) != 0) {
            number = Integer.parseInt(sphere12.getText());
            number -= 1;
            sphere12.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere12MouseClicked

    private void bucket12MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket12MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket12.getText());
            number += 1;
            bucket12.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket12.getText()) != 0) {
            number = Integer.parseInt(bucket12.getText());
            number -= 1;
            bucket12.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket12MouseClicked

    private void box13MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box13MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box13.getText());
            number += 1;
            box13.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box13.getText()) != 0) {
            number = Integer.parseInt(box13.getText());
            number -= 1;
            box13.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box13MouseClicked

    private void sphere13MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere13MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere13.getText());
            number += 1;
            sphere13.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere13.getText()) != 0) {
            number = Integer.parseInt(sphere13.getText());
            number -= 1;
            sphere13.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere13MouseClicked

    private void bucket13MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket13MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket13.getText());
            number += 1;
            bucket13.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket13.getText()) != 0) {
            number = Integer.parseInt(bucket13.getText());
            number -= 1;
            bucket13.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket13MouseClicked

    private void box14MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box14MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box14.getText());
            number += 1;
            box14.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box14.getText()) != 0) {
            number = Integer.parseInt(box14.getText());
            number -= 1;
            box14.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box14MouseClicked

    private void sphere14MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere14MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere14.getText());
            number += 1;
            sphere14.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere14.getText()) != 0) {
            number = Integer.parseInt(sphere14.getText());
            number -= 1;
            sphere14.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere14MouseClicked

    private void bucket14MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket14MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket14.getText());
            number += 1;
            bucket14.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket14.getText()) != 0) {
            number = Integer.parseInt(bucket14.getText());
            number -= 1;
            bucket14.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket14MouseClicked

    private void box15MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box15MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box15.getText());
            number += 1;
            box15.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box15.getText()) != 0) {
            number = Integer.parseInt(box15.getText());
            number -= 1;
            box15.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box15MouseClicked

    private void sphere15MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere15MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere15.getText());
            number += 1;
            sphere15.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere15.getText()) != 0) {
            number = Integer.parseInt(sphere15.getText());
            number -= 1;
            sphere15.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere15MouseClicked

    private void bucket15MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket15MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket15.getText());
            number += 1;
            bucket15.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket15.getText()) != 0) {
            number = Integer.parseInt(bucket15.getText());
            number -= 1;
            bucket15.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket15MouseClicked

    private void box16MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box16MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box16.getText());
            number += 1;
            box16.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box16.getText()) != 0) {
            number = Integer.parseInt(box16.getText());
            number -= 1;
            box16.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box16MouseClicked

    private void sphere16MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere16MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere16.getText());
            number += 1;
            sphere16.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere16.getText()) != 0) {
            number = Integer.parseInt(sphere16.getText());
            number -= 1;
            sphere16.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere16MouseClicked

    private void bucket16MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket16MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket16.getText());
            number += 1;
            bucket16.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket16.getText()) != 0) {
            number = Integer.parseInt(bucket16.getText());
            number -= 1;
            bucket16.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket16MouseClicked

    private void box17MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box17MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box17.getText());
            number += 1;
            box17.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box17.getText()) != 0) {
            number = Integer.parseInt(box17.getText());
            number -= 1;
            box17.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box17MouseClicked

    private void sphere17MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere17MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere17.getText());
            number += 1;
            sphere17.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere17.getText()) != 0) {
            number = Integer.parseInt(sphere17.getText());
            number -= 1;
            sphere17.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere17MouseClicked

    private void bucket17MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket17MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket17.getText());
            number += 1;
            bucket17.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket17.getText()) != 0) {
            number = Integer.parseInt(bucket17.getText());
            number -= 1;
            bucket17.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket17MouseClicked

    private void box18MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box18MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box18.getText());
            number += 1;
            box18.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box18.getText()) != 0) {
            number = Integer.parseInt(box18.getText());
            number -= 1;
            box18.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box18MouseClicked

    private void sphere18MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere18MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere18.getText());
            number += 1;
            sphere18.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere18.getText()) != 0) {
            number = Integer.parseInt(sphere18.getText());
            number -= 1;
            sphere18.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere18MouseClicked

    private void bucket18MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket18MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket18.getText());
            number += 1;
            bucket18.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket18.getText()) != 0) {
            number = Integer.parseInt(bucket18.getText());
            number -= 1;
            bucket18.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket18MouseClicked

    private void box19MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box19MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box19.getText());
            number += 1;
            box19.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box19.getText()) != 0) {
            number = Integer.parseInt(box19.getText());
            number -= 1;
            box19.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box19MouseClicked

    private void sphere19MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere19MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere19.getText());
            number += 1;
            sphere19.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere19.getText()) != 0) {
            number = Integer.parseInt(sphere19.getText());
            number -= 1;
            sphere19.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere19MouseClicked

    private void bucket19MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket19MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket19.getText());
            number += 1;
            bucket19.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket19.getText()) != 0) {
            number = Integer.parseInt(bucket19.getText());
            number -= 1;
            bucket19.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket19MouseClicked

    private void box110MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_box110MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(box110.getText());
            number += 1;
            box110.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(box110.getText()) != 0) {
            number = Integer.parseInt(box110.getText());
            number -= 1;
            box110.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_box110MouseClicked

    private void sphere110MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_sphere110MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(sphere110.getText());
            number += 1;
            sphere110.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(sphere110.getText()) != 0) {
            number = Integer.parseInt(sphere110.getText());
            number -= 1;
            sphere110.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_sphere110MouseClicked

    private void bucket110MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_bucket110MouseClicked
        int number;
        if (evt.getButton() == 1) {
            number = Integer.parseInt(bucket110.getText());
            number += 1;
            bucket110.setText("" + number);
        } else if (evt.getButton() == 3 && Integer.parseInt(bucket110.getText()) != 0) {
            number = Integer.parseInt(bucket110.getText());
            number -= 1;
            bucket110.setText("" + number);
        }
        MainNemo.calculateScore(this);
    }//GEN-LAST:event_bucket110MouseClicked

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        try{Integer.parseInt(newNiveau.getText());
        Integer.parseInt(newStruc.getText());
        SpecialPanel temp = new SpecialPanel(newType.getSelectedItem().toString(), newNiveau.getText(), newStruc.getText(), this);
        grosScorePanel.add(temp);
        grosScorePanel.revalidate();
        grosScorePanel.repaint();
        listeExtra.add(temp);
        
        }
        catch(Exception e) {
            
        }
        
        

        MainNemo.calculateScore(this);
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton2MouseClicked
        
    }//GEN-LAST:event_jButton2MouseClicked

    private void newTypeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_newTypeActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_newTypeActionPerformed

// </editor-fold>
    // <editor-fold defaultstate="collapsed" desc="GetSet">
    public void setCanScore1(String score) {
        this.canScore1.setText(score);
    }

    public JLabel getCustomLvl1() {
        return customLvl1;
    }

    public JLabel getCustomLvl2() {
        return customLvl2;
    }

    public JLabel getCustomLvl3() {
        return customLvl3;
    }

    public JLabel getCustomLvl4() {
        return customLvl4;
    }

    public JLabel getCustomLvl5() {
        return customLvl5;
    }

    public JLabel getCustomStruc1() {
        return customStruc1;
    }

    public JLabel getCustomStruc2() {
        return customStruc2;
    }

    public JLabel getCustomStruc3() {
        return customStruc3;
    }

    public JLabel getCustomStruc4() {
        return customStruc4;
    }

    public JLabel getCustomStruc5() {
        return customStruc5;
    }

    public void setCanScore2(String score) {
        this.canScore2.setText(score);
    }

    public void setCanScore3(String score) {
        this.canScore3.setText(score);
    }

    public void setCanScore4(String score) {
        this.canScore4.setText(score);
    }

    public void setCanScore5(String score) {
        this.canScore5.setText(score);
    }

    public JPanel getFloorOne() {
        return scorePanelFloor1;
    }

    public JPanel getFloorTwo() {
        return scorePanelFloor2;
    }

    public JLabel getBox11() {
        return box11;
    }

    public JLabel getBox12() {
        return box12;
    }

    public JLabel getBox13() {
        return box13;
    }

    public JLabel getBox14() {
        return box14;
    }

    public JLabel getBox15() {
        return box15;
    }

    public JLabel getBox21() {
        return box21;
    }

    public JLabel getBox22() {
        return box22;
    }

    public JLabel getBox23() {
        return box23;
    }

    public JLabel getBox24() {
        return box24;
    }

    public JLabel getBox25() {
        return box25;
    }

    public JLabel getBox31() {
        return box31;
    }

    public JLabel getBox32() {
        return box32;
    }

    public JLabel getBox33() {
        return box33;
    }

    public JLabel getBox34() {
        return box34;
    }

    public JLabel getBox35() {
        return box35;
    }

    public JLabel getBucket11() {
        return bucket11;
    }

    public JLabel getBucket12() {
        return bucket12;
    }

    public JLabel getBucket13() {
        return bucket13;
    }

    public JLabel getBucket14() {
        return bucket14;
    }

    public JLabel getBucket15() {
        return bucket15;
    }

    public JLabel getBucket21() {
        return bucket21;
    }

    public JLabel getBucket22() {
        return bucket22;
    }

    public JLabel getBucket23() {
        return bucket23;
    }

    public JLabel getBucket24() {
        return bucket24;
    }

    public JLabel getBucket25() {
        return bucket25;
    }

    public JLabel getBucket31() {
        return bucket31;
    }

    public JLabel getBucket32() {
        return bucket32;
    }

    public JLabel getBucket33() {
        return bucket33;
    }

    public JLabel getBucket34() {
        return bucket34;
    }

    public JLabel getBucket35() {
        return bucket35;
    }

    public JLabel getSphere11() {
        return sphere11;
    }

    public JLabel getSphere12() {
        return sphere12;
    }

    public JLabel getSphere13() {
        return sphere13;
    }

    public JLabel getSphere14() {
        return sphere14;
    }

    public JLabel getSphere15() {
        return sphere15;
    }

    public JLabel getSphere21() {
        return sphere21;
    }

    public JLabel getSphere22() {
        return sphere22;
    }

    public JLabel getSphere23() {
        return sphere23;
    }

    public JLabel getSphere24() {
        return sphere24;
    }

    public JLabel getSphere25() {
        return sphere25;
    }

    public JLabel getSphere31() {
        return sphere31;
    }

    public JLabel getSphere32() {
        return sphere32;
    }

    public JLabel getSphere33() {
        return sphere33;
    }

    public JLabel getSphere34() {
        return sphere34;
    }

    public JLabel getSphere35() {
        return sphere35;
    }

    public JLabel getBox110() {
        return box110;
    }

    public JLabel getBox16() {
        return box16;
    }

    public JLabel getBox17() {
        return box17;
    }

    public JLabel getBox18() {
        return box18;
    }

    public JLabel getBox19() {
        return box19;
    }

    public JLabel getBox210() {
        return box210;
    }

    public JLabel getBox26() {
        return box26;
    }

    public JLabel getBox27() {
        return box27;
    }

    public JLabel getBox28() {
        return box28;
    }

    public JLabel getBox29() {
        return box29;
    }

    public JLabel getBox310() {
        return box310;
    }

    public JLabel getBox36() {
        return box36;
    }

    public JLabel getBox37() {
        return box37;
    }

    public JLabel getBox38() {
        return box38;
    }

    public JLabel getBox39() {
        return box39;
    }

    public JLabel getBucket110() {
        return bucket110;
    }

    public JLabel getBucket16() {
        return bucket16;
    }

    public JLabel getBucket17() {
        return bucket17;
    }

    public JLabel getBucket18() {
        return bucket18;
    }

    public JLabel getBucket19() {
        return bucket19;
    }

    public JLabel getBucket210() {
        return bucket210;
    }

    public JLabel getBucket26() {
        return bucket26;
    }

    public JLabel getBucket27() {
        return bucket27;
    }

    public JLabel getBucket28() {
        return bucket28;
    }

    public JLabel getBucket29() {
        return bucket29;
    }

    public JLabel getBucket310() {
        return bucket310;
    }

    public JLabel getBucket36() {
        return bucket36;
    }

    public JLabel getBucket37() {
        return bucket37;
    }

    public JLabel getBucket38() {
        return bucket38;
    }

    public JLabel getBucket39() {
        return bucket39;
    }

    public JLabel getSphere110() {
        return sphere110;
    }

    public JLabel getSphere16() {
        return sphere16;
    }

    public JLabel getSphere17() {
        return sphere17;
    }

    public JLabel getSphere18() {
        return sphere18;
    }

    public JLabel getSphere19() {
        return sphere19;
    }

    public JLabel getSphere210() {
        return sphere210;
    }

    public JLabel getSphere26() {
        return sphere26;
    }

    public JLabel getSphere27() {
        return sphere27;
    }

    public JLabel getSphere28() {
        return sphere28;
    }

    public JLabel getSphere29() {
        return sphere29;
    }

    public JLabel getSphere310() {
        return sphere310;
    }

    public JLabel getSphere36() {
        return sphere36;
    }

    public JLabel getSphere37() {
        return sphere37;
    }

    public JLabel getSphere38() {
        return sphere38;
    }

    public JLabel getSphere39() {
        return sphere39;
    }

    public void setTimeLabel() {
        if ((time % 60) < 10) {
            timeLabel.setText("" + (int) (time / 60) + ":0" + time % 60);
        } else {
            timeLabel.setText("" + (int) (time / 60) + ":" + time % 60);
        }
    }

    public JPanel getFloorThree() {
        return scorePanelFloor3;
    }
    // </editor-fold>
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel Height;
    private javax.swing.JLabel Height4;
    private javax.swing.JLabel Height5;
    private javax.swing.JLabel box11;
    private javax.swing.JLabel box110;
    private javax.swing.JLabel box12;
    private javax.swing.JLabel box13;
    private javax.swing.JLabel box14;
    private javax.swing.JLabel box15;
    private javax.swing.JLabel box16;
    private javax.swing.JLabel box17;
    private javax.swing.JLabel box18;
    private javax.swing.JLabel box19;
    private javax.swing.JLabel box21;
    private javax.swing.JLabel box210;
    private javax.swing.JLabel box22;
    private javax.swing.JLabel box23;
    private javax.swing.JLabel box24;
    private javax.swing.JLabel box25;
    private javax.swing.JLabel box26;
    private javax.swing.JLabel box27;
    private javax.swing.JLabel box28;
    private javax.swing.JLabel box29;
    private javax.swing.JLabel box31;
    private javax.swing.JLabel box310;
    private javax.swing.JLabel box32;
    private javax.swing.JLabel box33;
    private javax.swing.JLabel box34;
    private javax.swing.JLabel box35;
    private javax.swing.JLabel box36;
    private javax.swing.JLabel box37;
    private javax.swing.JLabel box38;
    private javax.swing.JLabel box39;
    private javax.swing.JLabel bucket11;
    private javax.swing.JLabel bucket110;
    private javax.swing.JLabel bucket12;
    private javax.swing.JLabel bucket13;
    private javax.swing.JLabel bucket14;
    private javax.swing.JLabel bucket15;
    private javax.swing.JLabel bucket16;
    private javax.swing.JLabel bucket17;
    private javax.swing.JLabel bucket18;
    private javax.swing.JLabel bucket19;
    private javax.swing.JLabel bucket21;
    private javax.swing.JLabel bucket210;
    private javax.swing.JLabel bucket22;
    private javax.swing.JLabel bucket23;
    private javax.swing.JLabel bucket24;
    private javax.swing.JLabel bucket25;
    private javax.swing.JLabel bucket26;
    private javax.swing.JLabel bucket27;
    private javax.swing.JLabel bucket28;
    private javax.swing.JLabel bucket29;
    private javax.swing.JLabel bucket31;
    private javax.swing.JLabel bucket310;
    private javax.swing.JLabel bucket32;
    private javax.swing.JLabel bucket33;
    private javax.swing.JLabel bucket34;
    private javax.swing.JLabel bucket35;
    private javax.swing.JLabel bucket36;
    private javax.swing.JLabel bucket37;
    private javax.swing.JLabel bucket38;
    private javax.swing.JLabel bucket39;
    private javax.swing.JCheckBox canScore1;
    private javax.swing.JCheckBox canScore2;
    private javax.swing.JCheckBox canScore3;
    private javax.swing.JCheckBox canScore4;
    private javax.swing.JCheckBox canScore5;
    private javax.swing.JLabel customLvl1;
    private javax.swing.JLabel customLvl2;
    private javax.swing.JLabel customLvl3;
    private javax.swing.JLabel customLvl4;
    private javax.swing.JLabel customLvl5;
    private javax.swing.JLabel customPieceLabel;
    private javax.swing.JLabel customPieceLabel1;
    private javax.swing.JLabel customPieceLabel2;
    private javax.swing.JLabel customPieceLabel3;
    private javax.swing.JLabel customPieceLabel4;
    private javax.swing.JLabel customStruc1;
    private javax.swing.JLabel customStruc2;
    private javax.swing.JLabel customStruc3;
    private javax.swing.JLabel customStruc4;
    private javax.swing.JLabel customStruc5;
    private javax.swing.JPanel grosScorePanel;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel79;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel80;
    private javax.swing.JLabel jLabel82;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenuBar jMenuBar2;
    private javax.swing.JMenuItem jMenuItem2;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JMenuItem jMenuItem4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JTextField newNiveau;
    private javax.swing.JTextField newStruc;
    private javax.swing.JComboBox newType;
    private javax.swing.JLabel niv10;
    private javax.swing.JLabel niv9;
    private javax.swing.JComboBox school1;
    private javax.swing.JPanel school1Panel;
    private javax.swing.JComboBox school2;
    private javax.swing.JPanel school2Panel;
    private javax.swing.JComboBox school3;
    private javax.swing.JPanel school3Panel;
    private javax.swing.JComboBox school4;
    private javax.swing.JPanel school4Panel;
    private javax.swing.JComboBox school5;
    private javax.swing.JPanel school5Panel;
    private javax.swing.JPanel schoolPanel;
    private javax.swing.JPanel scorePanelFloor1;
    private javax.swing.JPanel scorePanelFloor2;
    private javax.swing.JPanel scorePanelFloor3;
    private javax.swing.JLabel sphere11;
    private javax.swing.JLabel sphere110;
    private javax.swing.JLabel sphere12;
    private javax.swing.JLabel sphere13;
    private javax.swing.JLabel sphere14;
    private javax.swing.JLabel sphere15;
    private javax.swing.JLabel sphere16;
    private javax.swing.JLabel sphere17;
    private javax.swing.JLabel sphere18;
    private javax.swing.JLabel sphere19;
    private javax.swing.JLabel sphere21;
    private javax.swing.JLabel sphere210;
    private javax.swing.JLabel sphere22;
    private javax.swing.JLabel sphere23;
    private javax.swing.JLabel sphere24;
    private javax.swing.JLabel sphere25;
    private javax.swing.JLabel sphere26;
    private javax.swing.JLabel sphere27;
    private javax.swing.JLabel sphere28;
    private javax.swing.JLabel sphere29;
    private javax.swing.JLabel sphere31;
    private javax.swing.JLabel sphere310;
    private javax.swing.JLabel sphere32;
    private javax.swing.JLabel sphere33;
    private javax.swing.JLabel sphere34;
    private javax.swing.JLabel sphere35;
    private javax.swing.JLabel sphere36;
    private javax.swing.JLabel sphere37;
    private javax.swing.JLabel sphere38;
    private javax.swing.JLabel sphere39;
    private javax.swing.JLabel timeLabel;
    // End of variables declaration//GEN-END:variables
    
 
    public JTextField getNewNiveau() {
        return newNiveau;
    }

    public JTextField getNewStruc() {
        return newStruc;
    }

    public JComboBox getNewType() {
        return newType;
    }
    public void removeExtraGros(SpecialPanel gros) {
        grosScorePanel.remove(gros);
        listeExtra.remove(gros);
        grosScorePanel.repaint();
        grosScorePanel.revalidate();
        MainNemo.calculateScore(this);
        //System.out.println("nabs");
        //JOptionPane.showMessageDialog(this, "Laurent est un n44b");
                
    }

    public ArrayList<SpecialPanel> getListeExtra() {
        return listeExtra;
    }
    
}
